
# 列表成员和列表都逆置
list = ["刘备","关羽","张飞","赵云","马超","黄盖"]
list1 = list[::-1]


index = 0   #定义一个变量index =0
for i in list1:
    str = i[::-1]
    list[index] =str
    index +=1
print(list)